﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WechatModel
{
    public class W_DepartmentInfo
    {
        private int _id;
        /// <summary>
        /// 部门ID
        /// </summary>
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _name;
        /// <summary>
        /// 部门名称
        /// </summary>
        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        private int _parentid;
        /// <summary>
        /// 父级部门ID，最顶级部门则为1
        /// </summary>
        public int parentid
        {
            get { return _parentid; }
            set { _parentid = value; }
        }

        private int _order;
        /// <summary>
        /// 顺序
        /// </summary>
        public int order
        {
            get { return _order; }
            set { _order = value; }
        }
    }
}
